package factory;

public class TTTCreationRules implements GameCreationRules
{

	@Override
	public boolean isValidGame(int numPlayers, int numMoves)
	{
		if(numPlayers != 2)
		{
			System.out.println("Illegal number of players for tic tac toe: " + numPlayers);
			return false;
		}
		else if(numMoves < 1)
		{
			System.out.println("Can't play tic tac toe with less than 1 move");
			return false;
		}
		return true;
	}

}
